.floating-square {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #ff7eb3, #ff758c);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 3s ease-in-out infinite, spin 3s linear infinite;
  }
  
  @keyframes float {
    0% {
      transform: translate(-50%, -50%) translateY(0) rotate(0deg);
    }
    50% {
      transform: translate(-50%, -50%) translateY(-20px) rotate(180deg);
    }
    100% {
      transform: translate(-50%, -50%) translateY(0) rotate(360deg);
    }
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #b55d5d;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
}

.hero {
    background: linear-gradient(135deg, #286a97, #2c3e50);
    color: white;
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #84d8ff96;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #87cff836;
}

.sidenav {
  height: 100%; 
  width: 160px; 
  position: fixed; 
  z-index: 1; 
  top: 0; 
  left: 0;
  background-image: linear-gradient(to bottom, #ffffff, #808080); 
  overflow-x: hidden; 
  padding-top: 5rem;
}

.sidenav a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 25px;
  color: #2c3e50;
  display: block;
  padding-bottom: 20px;
}

.sidenav a:hover {
  color: #3498db;
}

.main {
  margin-left: 150px; 
  padding: 0px 10px;
}

#course-content h1 {
  text-align: center;
  font-size: 3rem;
  padding-bottom: 2rem;
  padding-top: 2rem;
}

#course-content p {
  text-align: center;
  font-size: 20px;
  padding: 1em;
  margin-left: 10em;
  margin-right: 10em;
  box-shadow: 0 6px 15px rgba(74, 49, 49, 0.2);
  border-radius: 25px;
}

.program-overview,
.personalized,
.results,
.about-tutor,
.final-cta {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.program-overview h2,
#course-content h2,
.personalized h2,
.results h2,
.about-tutor h2,
.final-cta h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #0f3d6b;
}

.program-overview ul {
    list-style: none;
    text-align: center;
}

.program-overview li {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

#course-content {
    padding: 4rem 2rem;
}

.content-block {
    background-color: #f7f9fc;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 900px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.content-block h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.content-block ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.content-block li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.visit-download-page {
  text-align: center;
}

.visit-download-page a {
  color: #333;
}

.personalized p,
.about-tutor p,
.final-cta p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

.results ul {
    list-style: none;
    text-align: center;
    padding: 0;
}

.results li {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.about-tutor ul {
    list-style: none;
    text-align: center;
    margin-top: 1.5rem;
}

.about-tutor li {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.final-cta {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    border-radius: 10px;
    margin-bottom: 4rem;
}

.final-cta h2 {
    color: white;
}

.final-cta p {
    margin-bottom: 2rem;
}

.final-cta .cta-button {
    background-color: rgba(255, 255, 255, 0.25);
}

.final-cta .cta-button:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .main {
        margin-left: 0;
    }

    .sidenav {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .content-block {
        padding: 1.5rem;
    }
}

#download {
  max-width: 800px;
  margin: 4rem auto;
  padding: 2rem;
}

.download-h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.download-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.download-item {
  margin-bottom: 1rem;
}

.download-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 1rem 1.25rem;
  border-radius: 8px;

  text-decoration: none;
  font-weight: 500;

  background-color: #c4edfbc3;
  color: #222;

  transition: 
      background-color 0.3s ease,
      transform 0.2s ease,
      box-shadow 0.2s ease;
}

.download-item a:hover,
.download-item a:focus {
  background-color: #9bc9d9;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.download-item a::after {
  content: "⬇";
  font-size: 1.2rem;
  opacity: 0.7;
}
